<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    <title>汽车投票系统</title>
    <style>
        h1{text-align: center}
        .login{float: right;margin-bottom: 20px}
        .row img{width: 100%}
        .img{position: relative}
        .img .row{position: absolute;bottom: 0;left: 15px;background-color: rgba(0,0,0,0.5);width: 100%;color: white;margin: 0}
        p {margin: 10px 0 ! important;}
    </style>
</head>
<body>
<div class="container">
    <h1>我最爱的汽车投票</h1>
    <p class="login"><a href="">登录</a> <a href="">注册</a></p>
    <div class="row">
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <div class="img">
                <img src="">
                <div class="row">
                    <div class="col-xs-12 col-sm-8 col-md-6">宝马</div>
                    <div class="col-xs-12 col-sm-4 col-md-6">当前票数：80</div>
                </div>
            </div>
            <p>车辆介绍</p>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <div class="img">
                <img src="">
                <div class="row">
                    <div class="col-xs-12 col-sm-8 col-md-6">宝马</div>
                    <div class="col-xs-12 col-sm-4 col-md-6">当前票数：80</div>
                </div>
            </div>
            <p>车辆介绍</p>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <div class="img">
                <img src="">
                <div class="row">
                    <div class="col-xs-12 col-sm-8 col-md-6">宝马</div>
                    <div class="col-xs-12 col-sm-4 col-md-6">当前票数：80</div>
                </div>
            </div>
            <p>车辆介绍</p>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <div class="img">
                <img src="">
                <div class="row">
                    <div class="col-xs-12 col-sm-8 col-md-6">宝马</div>
                    <div class="col-xs-12 col-sm-4 col-md-6">当前票数：80</div>
                </div>
            </div>
            <p>车辆介绍</p>
        </div>
    </div>
</div>
</body>
</html>